class Monk:
	def __init__(self, name, age):
		self.name = name
		self.age = age
		
	def net(self):
		print "I love zhangyu"
		
	def play(self, str):
		print "play with", str
		
m1 = Monk("yixiu",8)
print m1.name
m1.net()
m1.play("compute")